package com.kt.mes.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品追踪对象 t_trace_data
 * 
 * @author lzc
 * @date 2021-06-10
 */
public class TraceData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 追溯码 */
    @Excel(name = "追溯码")
    private String traceId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String oId;

    /** 子订单号 */
    @Excel(name = "子订单号")
    private String posId;

    private String proName;

    /** 托盘号 */
    @Excel(name = "托盘号")
    private String trayId;

    /** 操作名称 */
    @Excel(name = "操作名称")
    private String actName;

    /** 参数值 */


    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date billTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public Long getId()
    {
        return id;
    }
    public void setTraceId(String traceId) 
    {
        this.traceId = traceId;
    }

    public String getTraceId() 
    {
        return traceId;
    }
    public void setoId(String oId) 
    {
        this.oId = oId;
    }

    public String getoId() 
    {
        return oId;
    }
    public void setPosId(String posId) 
    {
        this.posId = posId;
    }

    public String getPosId() 
    {
        return posId;
    }
    public void setTrayId(String trayId) 
    {
        this.trayId = trayId;
    }

    public String getTrayId() 
    {
        return trayId;
    }
    public void setActName(String actName) 
    {
        this.actName = actName;
    }

    public String getActName() 
    {
        return actName;
    }



    public void setBillTime(Date billTime) 
    {
        this.billTime = billTime;
    }

    public Date getBillTime() 
    {
        return billTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("traceId", getTraceId())
            .append("oId", getoId())
            .append("posId", getPosId())
            .append("trayId", getTrayId())
            .append("actName", getActName())

            .append("billTime", getBillTime())
            .toString();
    }
}
